<!--#include file="p1.asp" -->
<%
	Easp.NoCache
	session("access")=1
	dim ret,rs,sql
	sql="select name2 from [baseinfo] where [name1]='网站内容'"
	s11 sql,"sitecontent"
	
%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title></title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="dist/layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="dist/layuiadmin/style/admin.css" media="all">
</head>
<body>
<div style="padding: 20px; background-color: #F2F2F2;">
  <div class="layui-row layui-col-space10" >

	
    <div class="layui-col-md10">
<div class="layui-card">


  <div class="layui-card-body">
                 <div class="layui-input-block">
				<textarea id="sitecontent" name="sitecontent" style="display: none;"><%=easp.var("sitecontent")%></textarea>
                </div> 

  </div>
</div>
    </div>
	

  </div>
</div> 
<script src="dist/layuiadmin/layui/layui.js"></script>
<script>
  layui.config({
    base: 'dist/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'contlist', 'table','useradmin','carousel','layedit'], function(){
    var $ = layui.$
    ,admin = layui.admin
	,table=layui.table
    ,form = layui.form,carousel = layui.carousel;
   
	var layedit = layui.layedit;
	layedit.set({
  uploadImage: {
    url: '../../../upload2.asp' //接口url
    ,type: 'post' //默认post
  }
});
    var index= layedit.build('sitecontent'); //建立编辑器
	

});	



</script>
</body>
</html>